<?= $this->doctype(); ?>

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php

// setting the controller and action name as title segments:
$request = Zend_Controller_Front::getInstance()->getRequest();
$front = Zend_Controller_Front::getInstance();

$this->headTitle('My app');

if ($request->getControllerName() != $front->getDefaultControllerName()) {
  $this->headTitle($request->getControllerName());
}

$this->headTitle()->setSeparator(' - ');

?>

<?= $this->headTitle() ?>

<?= $this->headScript() ?>

<?= $this->headLink() ?>

<?= $this->headStyle() ?>

</head>
<body>
<?= $this->action('header', 'common') ?>

<?= $this->layout()->content ?>

<?= $this->action('left-nav', 'common') ?>

<?= $this->action('footer', 'common') ?>

</body>
</html>
